package com.yiqi.lottery.feature.lottery.view.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.suozhang.framework.framework.AM;
import com.yiqi.lottery.R;
import com.yiqi.lottery.entity.bo.BaseBo;
import com.yiqi.lottery.entity.bo.CircleBo;
import com.yiqi.lottery.entity.bo.ConfirmLotteryBo;
import com.yiqi.lottery.entity.enums.DaletouType;

public class WinningAdapter extends BaseQuickAdapter<CircleBo, BaseViewHolder> {
    public WinningAdapter() {
        super(R.layout.item_winning);
    }

    @Override
    protected void convert(BaseViewHolder helper, CircleBo item) {


        helper.setText(R.id.tv_lottery_winning,item.getPost_content() );
        AM.image().bind(item.getImage_url(),helper.getView(R.id.iv_lottery_winning));
    }
}
